Matthias Clasen [Fri, 26 Jul 2013 12:48:38 +0000 (08:48 -0400)]
Trivial typo fix
Alexander Larsson [Fri, 26 Jul 2013 12:41:09 +0000 (08:41 -0400)]
widget: Use a real offset in gtk_widget_class_automate_child
Using an offset from the struct means you can have children in
both the public and private (via G_PRIVATE_OFFSET) parts of the
instance. It also matches the new private macros nicer.
https://bugzilla.gnome.org/show_bug.cgi?id=702563
Signed-off-by: Emmanuele Bassi <ebassi@gnome.org>
Benjamin Otte [Fri, 26 Jul 2013 11:31:52 +0000 (13:31 +0200)]
tests: Make a11ytests keep going on failure and be verbose
Martin Stransky [Fri, 26 Jul 2013 11:24:53 +0000 (13:24 +0200)]
stylecontext: Clear paths in gtk_render_foo()
This ensures that existing paths are properly cleared and don't cause
spurious renderings.
https://bugzilla.gnome.org/show_bug.cgi?id=694086
Colin Walters [Fri, 26 Jul 2013 01:00:33 +0000 (02:00 +0100)]
testsuite/a11y: Update infobar.txt for latest theme changes
Stefano Facchini [Thu, 25 Jul 2013 22:18:29 +0000 (00:18 +0200)]
infobar: really make the close button hidden by default
https://bugzilla.gnome.org/show_bug.cgi?id=704894
Chao-Hsiung Liao [Thu, 25 Jul 2013 21:40:55 +0000 (05:40 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
David King [Wed, 17 Jul 2013 11:32:36 +0000 (12:32 +0100)]
action: Improve some deprecation notices
Improve on some of the deprecation notices for GtkAction by linking to
other relevant API, and mentioning when there is no direct replacement.
https://bugzilla.gnome.org/show_bug.cgi?id=704392
William Jon McCann [Mon, 15 Jul 2013 19:08:10 +0000 (15:08 -0400)]
demo: add a close button to the info bar demo
https://bugzilla.gnome.org/show_bug.cgi?id=704274
William Jon McCann [Mon, 15 Jul 2013 19:04:56 +0000 (15:04 -0400)]
Add an optional close button to the info bar
This adds gtk_info_bar_{get,set}_show_close_button.
Similar to the one for the search bar. This can replace Cancel
buttons.
https://bugzilla.gnome.org/show_bug.cgi?id=704274
Rob Bradford [Wed, 24 Jul 2013 17:30:19 +0000 (18:30 +0100)]
wayland: Create a cairo surface for the root window
Many parts of GTK+ assume that all windows have a cairo surface
assoicated with them. This change provides a logically 1x1 cairo surface
(respecting scale) for the root window.
https://bugzilla.gnome.org/show_bug.cgi?id=704554
Matthias Clasen [Wed, 24 Jul 2013 05:43:14 +0000 (01:43 -0400)]
Getting started: Add docs for property actions
Use the just added example to add another section to the docs.
Matthias Clasen [Wed, 24 Jul 2013 05:13:06 +0000 (01:13 -0400)]
Getting started: Add an example for property actions
This example demonstrates property actions and object binding.
Matthias Clasen [Wed, 24 Jul 2013 04:44:34 +0000 (00:44 -0400)]
Getting started: Add information about activate and open
The difference between the various GApplication entry points
is a little mysterious to many people, so talk a bit about
this here.
Matthias Clasen [Wed, 24 Jul 2013 04:00:57 +0000 (00:00 -0400)]
Gettting started: Improve some screenshots
Use default GNOME background, and have a desktop file and
icon installed for the app menu screenshot.
Matthias Clasen [Wed, 24 Jul 2013 04:07:41 +0000 (00:07 -0400)]
Getting started: Add docs about desktop file and icon
Matthias Clasen [Wed, 24 Jul 2013 03:16:54 +0000 (23:16 -0400)]
Getting started: Add icon and desktop file
Setting up the icon and desktop file is a pretty central part
of making an application work, so we should do it for our example.
The fact that the examples are uninstalled makes this a little
more complicated.
Matthias Clasen [Wed, 24 Jul 2013 00:18:54 +0000 (20:18 -0400)]
Getting started: Fix a corner case
When using 'Words' without a loaded document, the example
would crash. Thats not nice, so avoid it.
Matthias Clasen [Wed, 24 Jul 2013 05:10:08 +0000 (01:10 -0400)]
Getting started: Drop ugly signal handler cleanup
I disconnected signals in dispose() to avoid a visible-tab
change notification during destruction, but this is clunky.
Instead, make the notify::visible-tab signal handler bail out
early when called during destruction.
Matthias Clasen [Tue, 23 Jul 2013 23:20:07 +0000 (19:20 -0400)]
Getting started: Use <choices> in the schema
The use of a manually-specified enum is a little unusual.
This is really meant to be done by <choices>.
Matthias Clasen [Tue, 23 Jul 2013 23:04:12 +0000 (19:04 -0400)]
Getting started: Coding style updates
Make the new examples use GTK+ coding style.
Colin Walters [Tue, 23 Jul 2013 14:39:56 +0000 (15:39 +0100)]
testsuite/a11y: Don't check minimum increment
This value is highly sensitive to changes in the theme; we
don't want to have to tweak hardcoded integers in this test case
every time we rev gnome-themes-standard.
Future iterations could do more heuristic matching, but this
is enough for now.
https://bugzilla.gnome.org/show_bug.cgi?id=704747
Owen W. Taylor [Wed, 26 Jun 2013 14:05:38 +0000 (10:05 -0400)]
Disable frame sync for GtkPlug
Plug windows weren't redrawing properly because the embedded
window was expecting to get messages for each frame from the
compositor, but the compositor doesn't know about embedded
windows. Simply disable frame sync for GtkPlug's GdkWindow -
extending XEMBED to handle frame sync isn't interesting
at this point.
A new API gdk_x11_window_set_frame_sync_enabled() is added
to allow this to be done.
https://bugzilla.gnome.org/show_bug.cgi?id=701613
Simon Feltman [Mon, 24 Sep 2012 23:34:56 +0000 (16:34 -0700)]
Add gtk_tree_model_rows_reordered_with_length introspectable method
Add introspection friendly version of gtk_tree_model_rows_reordered
with a "_with_length" suffix. This allows language bindings to
safely pass an array with length argument. Use the "Rename to:"
annotation to expose as "gtk_tree_model_rows_reordered".
https://bugzilla.gnome.org/show_bug.cgi?id=684558
Marek Černocký [Mon, 22 Jul 2013 20:23:50 +0000 (22:23 +0200)]
Updated Czech translation
Alberto Ruiz [Mon, 22 Jul 2013 14:06:24 +0000 (16:06 +0200)]
fontchooser: prevent the scale from showing the value as it is shown in the spinbutton already
Erik van Pienbroek [Sat, 13 Jul 2013 20:53:24 +0000 (22:53 +0200)]
Fix prototype of gdk_device_win32_warp
https://bugzilla.gnome.org/show_bug.cgi?id=704171
Murray Cumming [Mon, 22 Jul 2013 12:08:11 +0000 (14:08 +0200)]
docs: gtk_menu_attach_to_widget()
Add a few more clues about why this is useful,
based on
https://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00176.html
and the reference to it from gtk_menu_new_from_model().
Matthias Clasen [Sun, 21 Jul 2013 21:44:13 +0000 (17:44 -0400)]
Fix a wrong link in the new example
The links point to the online cgit locations, so were hard to check
before the commit...
Alberto Ruiz [Sun, 21 Jul 2013 18:46:30 +0000 (20:46 +0200)]
fontchooser: Fix smooth scrolling in the scale and the preview entry
Stefano Facchini [Sun, 21 Jul 2013 14:52:36 +0000 (16:52 +0200)]
Remove a generated Makefile in new example app
Piotr Drąg [Sun, 21 Jul 2013 13:22:34 +0000 (15:22 +0200)]
Updated POTFILES.skip
Jehan [Wed, 17 Jul 2013 10:05:21 +0000 (19:05 +0900)]
gtkdialog - more informative warning when ordering unexisting response_id
Victor Ibragimov [Sun, 21 Jul 2013 06:12:38 +0000 (11:12 +0500)]
Tajik translation updated
Matthias Clasen [Sat, 20 Jul 2013 04:21:48 +0000 (00:21 -0400)]
Add a new example app
Add a new example to the getting started part of the docs. The focus
of this example is on 'new stuff': GtkApplication, templates, settings,
gmenu, gaction, GtkStack, GtkHeaderBar, GtkSearchBar, GtkRevealer,
GtkListBox, GtkMenuButton, etc.
It is being developed in several steps. Each step is put in a separate
directory below examples/: application1, ..., application8. This is a
little repetitive, but lets us use the code of all examples in the
documentation.
Rico Tzschichholz [Sat, 20 Jul 2013 11:03:59 +0000 (13:03 +0200)]
docs: Drop reference to refcounting.txt to fix make dist
In addition to
94d6971ca4e7e6acb066a042c7e0815b63d13b82
Rico Tzschichholz [Sat, 20 Jul 2013 10:58:24 +0000 (12:58 +0200)]
Updated POTFILES.in
Emmanuele Bassi [Sat, 20 Jul 2013 09:55:27 +0000 (10:55 +0100)]
gtk-demo/builder: Re-enable deprecated symbols
The demo uses GtkAction.
Emmanuele Bassi [Sat, 20 Jul 2013 09:47:44 +0000 (10:47 +0100)]
Restore gtkimagemenuitem.c
It got lost in commit
0aa57d26b53a39d0f95bc42d34abd70f4f32406b and it
broke the build.
Matthias Clasen [Sat, 20 Jul 2013 02:48:12 +0000 (22:48 -0400)]
Clean up includes in gtk/deprecated/
Purely cosmetic.
Matthias Clasen [Sat, 20 Jul 2013 02:32:23 +0000 (22:32 -0400)]
Drop some unnecessary includes
Drop includes of deprecated headers where they are
no longer needed.
Matthias Clasen [Sat, 20 Jul 2013 00:29:11 +0000 (20:29 -0400)]
Move wholly deprecated classes to gtk/deprecated/
We've recently a number of classes wholly. For these cases,
move the headers and sources to gtk/deprecated/ and adjust
Makefiles and includes accordingly.
Affected classes:
GtkAction
GtkActionGroup
GtkActivatable
GtkIconFactory
GtkImageMenuItem
GtkRadioAction
GtkRecentAction
GtkStock
GtkToggleAction
GtkUIManager
Chun-wei Fan [Fri, 19 Jul 2013 10:38:27 +0000 (18:38 +0800)]
gtk/gtkrecentchooser.c: Avoid C99isms
Declare variables at the top to the block.
G_GNUC_BEGIN_IGNORE_DEPRECATIONS and G_GNUC_END_IGNORE_DEPRECATIONS with
a ';' at the end is still considered a statement, even if these macros
expand to nothing, which C89 compilers don't really like (oddly speaking)-
but this is life.
Chun-wei Fan [Fri, 19 Jul 2013 10:33:42 +0000 (18:33 +0800)]
gdk/gdkoffscreenwindow.c: Include fallback-c89.c
This is necessary as we are using round() here, which is not universally
available.
Chun-wei Fan [Fri, 19 Jul 2013 10:32:38 +0000 (18:32 +0800)]
Update gtk3-demo Visual C++ Projects
Remove the demos were removed due to deprecation of APIs
Milo Casagrande [Fri, 19 Jul 2013 07:56:02 +0000 (09:56 +0200)]
[l10n] Updated Italian translation.
William Jon McCann [Thu, 18 Jul 2013 02:53:39 +0000 (22:53 -0400)]
tests: don't use tearoff menus in combobox
William Jon McCann [Thu, 18 Jul 2013 02:52:53 +0000 (22:52 -0400)]
Deprecate tear off menus
Marek Černocký [Thu, 18 Jul 2013 13:24:16 +0000 (15:24 +0200)]
Updated Czech translation
Marek Černocký [Thu, 18 Jul 2013 13:16:32 +0000 (15:16 +0200)]
Updated Czech translation
William Jon McCann [Thu, 18 Jul 2013 02:37:50 +0000 (22:37 -0400)]
Use proper quotation marks
As per https://wiki.gnome.org/GnomeOS/Design/Whiteboards/Typography
William Jon McCann [Thu, 18 Jul 2013 01:38:13 +0000 (21:38 -0400)]
docs: use a separate platform support section
William Jon McCann [Thu, 18 Jul 2013 01:32:42 +0000 (21:32 -0400)]
docs: move core and theming under widgets
They aren't that interesting.
William Jon McCann [Thu, 18 Jul 2013 01:31:44 +0000 (21:31 -0400)]
docs: move stock to deprecated
William Jon McCann [Thu, 18 Jul 2013 01:24:51 +0000 (21:24 -0400)]
docs: update the order of widgets to put recommended ones on top
William Jon McCann [Thu, 18 Jul 2013 01:15:37 +0000 (21:15 -0400)]
docs: move imagemenuitem to deprecated
William Jon McCann [Thu, 18 Jul 2013 01:11:35 +0000 (21:11 -0400)]
docs: move builder to under applications
William Jon McCann [Thu, 18 Jul 2013 01:11:01 +0000 (21:11 -0400)]
docs: move action support into deprecated
William Jon McCann [Thu, 18 Jul 2013 01:10:29 +0000 (21:10 -0400)]
docs: move application support to the top of the widget list
William Jon McCann [Thu, 18 Jul 2013 00:45:41 +0000 (20:45 -0400)]
docs: Use sections in the widget gallery
William Jon McCann [Wed, 17 Jul 2013 23:49:29 +0000 (19:49 -0400)]
docs: remove deprecated font and color selectors from gallery
William Jon McCann [Wed, 17 Jul 2013 23:18:12 +0000 (19:18 -0400)]
docs: update generated images of widgets
William Jon McCann [Wed, 17 Jul 2013 22:56:08 +0000 (18:56 -0400)]
Set reasonable minimum size for the file chooser
At small sizes it just looks broken.
William Jon McCann [Wed, 17 Jul 2013 20:52:23 +0000 (16:52 -0400)]
Add a bit of margin on the statusbar
So that the text doesn't touch the side of the window. And it
looks much cleaner.
William Jon McCann [Wed, 17 Jul 2013 23:11:16 +0000 (19:11 -0400)]
docs: make the spinner spin for the screenshot
William Jon McCann [Wed, 17 Jul 2013 21:53:03 +0000 (17:53 -0400)]
docs: use a nicer image for the screenshot
William Jon McCann [Wed, 17 Jul 2013 21:16:01 +0000 (17:16 -0400)]
docs: don't vertically fill statusbar
William Jon McCann [Wed, 17 Jul 2013 19:17:48 +0000 (15:17 -0400)]
docs: remove deprecated font selector screenshot
William Jon McCann [Wed, 17 Jul 2013 19:09:10 +0000 (15:09 -0400)]
docs: remove deprecated color selection screenshot
William Jon McCann [Wed, 17 Jul 2013 19:06:15 +0000 (15:06 -0400)]
docs: update copyright text
William Jon McCann [Wed, 17 Jul 2013 19:03:49 +0000 (15:03 -0400)]
docs: make bar widgets stretch horizontally in shots
William Jon McCann [Wed, 17 Jul 2013 23:34:22 +0000 (19:34 -0400)]
docs: don't use an icon by default in the combobox shot
Jasper St. Pierre [Thu, 18 Jul 2013 00:09:56 +0000 (20:09 -0400)]
shooter: Make sure to free the surface
Matthias Clasen [Wed, 17 Jul 2013 21:51:33 +0000 (17:51 -0400)]
Add AudioMicMute
This keysym was recently added to XF86keysym.h.
Jasper St. Pierre [Wed, 17 Jul 2013 20:54:42 +0000 (16:54 -0400)]
shooter: Use the reftests code for taking screenshots
Jasper St. Pierre [Wed, 17 Jul 2013 20:39:04 +0000 (16:39 -0400)]
gdkkeysyms-update: Remove workarounds for old bugs
Jasper St. Pierre [Wed, 17 Jul 2013 20:27:31 +0000 (16:27 -0400)]
gdkkeysyms-update: Just overwrite gdkkeysyms.h
Jasper St. Pierre [Wed, 17 Jul 2013 19:04:20 +0000 (15:04 -0400)]
doc-shooter: Remove inappropriate menu usage
Jasper St. Pierre [Wed, 17 Jul 2013 18:48:00 +0000 (14:48 -0400)]
docs: Remove old refcounting file
This references GTK+2-era objects, and isn't really useful anymore.
William Jon McCann [Wed, 17 Jul 2013 17:09:28 +0000 (13:09 -0400)]
docs: use informal figures for screenshots
William Jon McCann [Wed, 17 Jul 2013 13:36:00 +0000 (09:36 -0400)]
docs: update getting started screenshots
William Jon McCann [Wed, 17 Jul 2013 13:21:08 +0000 (09:21 -0400)]
docs: add filename hints for getting started examples
William Jon McCann [Wed, 17 Jul 2013 13:19:11 +0000 (09:19 -0400)]
docs: fix use of multiplication typography
Victor Ibragimov [Wed, 17 Jul 2013 06:54:15 +0000 (11:54 +0500)]
Tajik translation updated
Giovanni Campagna [Fri, 12 Jul 2013 14:49:52 +0000 (16:49 +0200)]
gdk/wayland: cope with the compositor implementing an older protocol than us
If we bind to a global with an higher version than implemented, or
we make requests that appeared in a later version, we would get
fatal wayland errors.
https://bugzilla.gnome.org/show_bug.cgi?id=704104
Victor Ibragimov [Tue, 16 Jul 2013 08:43:57 +0000 (13:43 +0500)]
Tajik translation updated
Benjamin Otte [Mon, 15 Jul 2013 17:42:29 +0000 (19:42 +0200)]
reftests: Fix broken reftest
GtkMenuItem has no accel group.
Kjartan Maraas [Mon, 15 Jul 2013 17:40:24 +0000 (19:40 +0200)]
Updated Norwegian bokmål translation
William Jon McCann [Mon, 15 Jul 2013 16:37:58 +0000 (12:37 -0400)]
Fix infobar docs to not mention type colors
The theme may not use colors to distinguish the info bar
message types.
William Jon McCann [Mon, 15 Jul 2013 13:49:32 +0000 (09:49 -0400)]
Make the info bar action area border the same as the internal spacing
Using a consistent spacing feels much more polished.
William Jon McCann [Mon, 15 Jul 2013 13:33:44 +0000 (09:33 -0400)]
Make info bar action area horizontal
A vertical action area causes the info bar to be imposingly large.
This defeats the whole point of the info bar which is to be
unobtrusive. Not to mention it is impossible to make it look
and feel good.
William Hua [Sun, 14 Jul 2013 22:07:05 +0000 (18:07 -0400)]
Bug 704216: Fix prototype for gdk_quartz_device_core_warp.
Sébastien Wilmet [Sat, 13 Jul 2013 19:07:08 +0000 (21:07 +0200)]
GtkSearchEntry: fix search_entry_clear_cb()
When the icon-release signal is emitted on a GtkSearchEntry, the
contents is now cleared only if it's for the secondary icon. The primary
icon can be used for another purpose.
https://bugzilla.gnome.org/show_bug.cgi?id=704164
Marek Černocký [Sun, 14 Jul 2013 09:39:17 +0000 (11:39 +0200)]
Updated Czech translation
Marek Černocký [Sun, 14 Jul 2013 09:25:32 +0000 (11:25 +0200)]
Updated Czech translation
Aurimas Černius [Sat, 13 Jul 2013 15:01:09 +0000 (18:01 +0300)]
Updated Lithuanian properties translation
Aurimas Černius [Sat, 13 Jul 2013 14:38:25 +0000 (17:38 +0300)]
Updated Lithuanian UI translation
Victor Ibragimov [Sat, 13 Jul 2013 13:39:22 +0000 (15:39 +0200)]
[l10n] Update Tajik translation
Victor Ibragimov [Fri, 12 Jul 2013 12:22:38 +0000 (17:22 +0500)]
Tajik translation updated
William Jon McCann [Wed, 10 Jul 2013 16:13:12 +0000 (12:13 -0400)]
Deprecate and ignore gtk-entry-password-hint-timeout
This feature offers a number of benefits related to providing
feedback to the user when the password is masked. Some experts have
argued that password masking is harmful. I tend to agree with this
setting providing a better and more moderate solution. Some agree:
https://www.schneier.com/blog/archives/2009/07/the_pros_and_co.html
In order to further lessen the impact I've only enabled the feature
on the primary display since the likelyhood of a non-primary display
being visible by others is higher.